From 96e1e633225fc83dc648cb2afdaa27cf0f0d36d3 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 6 Apr 2006 09:34:30 +0100 Subject: [PATCH] Remove unused code in netback's net_rx_action(): new_mfn and old_mfn are set in the end half of the function but they are not used. Signed-off-by: Isaku Yamahata --- linux-2.6-xen-sparse/drivers/xen/netback/netback.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c index 8e3a1c72b7..8b2b66b139 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c +++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c @@ -301,9 +301,6 @@ static void net_rx_action(unsigned long unused) netif = netdev_priv(skb->dev); size = skb->tail - skb->data; - /* Rederive the machine addresses. */ - new_mfn = mcl->args[1] >> PAGE_SHIFT; - old_mfn = gop->mfn; atomic_set(&(skb_shinfo(skb)->dataref), 1); skb_shinfo(skb)->nr_frags = 0; skb_shinfo(skb)->frag_list = NULL; -- 2.30.2